﻿package protocol;

import org.jboss.netty.buffer.ChannelBuffer;


public interface Iprotocol {
	/**
	 * 
	 * @param Type
	 */
	public void setType(int Type);
	
	public int getType();
	
	public byte[] write();
	
	public void read(ChannelBuffer buffer);
}
